package com.tm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author huangp
 * @create 2023-04-05 9:37
 */
@Data
@TableName("employee")
public class EmployeeEntity extends CreateAllEntity implements Serializable {

            private static final long serialVersionUID = 1L;
            private Long id;// bigint(20) NOT NULL COMMENT '主键',
            private String name;// varchar(32) COLLATE utf8_bin NOT NULL COMMENT '姓名',
            private String username;// varchar(32) COLLATE utf8_bin NOT NULL COMMENT '用户名',
            private String password ;//varchar(64) COLLATE utf8_bin NOT NULL COMMENT '密码',
            private String phone;// varchar(11) COLLATE utf8_bin NOT NULL COMMENT '手机号',
            private String sex ;//varchar(2) COLLATE utf8_bin NOT NULL COMMENT '性别',
            @TableField(exist = false)
            private String idNumber;// varchar(18) COLLATE utf8_bin NOT NULL COMMENT '身份证号',
            private Integer status ;//int(11) NOT NULL DEFAULT '1' COMMENT '状态 0:禁用，1:正常',

}
